import {Dimensions} from "react-native";

const { width: screenWidth, height: screenHeight } = Dimensions.get('window');

// 设计稿基准宽度
const BASE_WIDTH = 375; // 根据设计稿调整
const scale = screenWidth / BASE_WIDTH;

export const scaleSize = (size) => Math.round(size * scale);
export const height = screenHeight;
